package com.baofu.paycore.service.facade.model.authorize;

import com.baofu.paycore.service.facade.model.PayBaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 预授权相关服务 model
 *
 * @author LZQ
 * @version 1.0.0 createTime: 14/12/9 上午9:43
 */
@Getter
@Setter
@ToString(callSuper = true)
public class AuthorizeDTO extends PayBaseDTO {

    private static final long serialVersionUID = -5409484945348508871L;


    /** 收款方资金账户号 */
    private String payeeAccNo;

    /**
     * 资金渠道信息
     */
    @NotNull(message = "资金处理单不能空")
    @Valid
    private AuthorizeFundDTO authorizeFundDTO;
}
